package com.weipai.springboot.module.dao;

import com.weipai.springboot.model.Inventory;

import java.util.List;
import java.util.Map;

/**
 * @Author: 曹朋飞
 * @Date: 2018/08/23 09:37
 */
public interface InventoryDao {

    Map<String,Object> getStorageGoodsNum(String storageId, String skuNumber);

    int insert(Inventory inventory);

    int updateGoodsNumber(String inventoryId, int allNum);

    Inventory selectByPrimaryKey(Long inventoryId);
    
    int updateByPrimaryKeySelective(Inventory inventory);
}
